import Request from '@/libs/request'

/**查询检测频率 */
export const uSelectDevUploadInterval = (data: {devGId: DevGId}) =>
  Request.get<Device.DevMsg>('/user/uSelectDevUploadInterval', data)

/**修改检测频率 */
export const editJsonUploadInterval = (data: {
  devGId: DevGId
  intervalData: string
}) => Request.get<null>('/user/editJsonUploadInterval', data)
